对于数据库来说,约束也可分为列约束(Column Constraint)和表约束(Table Constraint),列约束作为列定义的一部分只作用于此列本身,表约束作为表定义的一部分可以作用于多个列。
基于127个网页-相关网页
table check constraint 表检查约束
alter table add constraint 以及修修改表 ; 在已有的表上增加约束
In this activity, you add documentation to every element in the model, including every column, every table, every constraint, and every trigger.
在这种情况中,你把文档添加到模型的每一个元素中,包括每个列,每个表,每个约束和每个触发器。
For table, use the CHECK constraint to ensure integrity.
对于表,可以使用CHECK约束来确保完整性。
This clause is not allowed if the column is specified in the primary key, or in a unique constraint of the table (SQLSTATE 42831).
如果表的主键或惟一性约束中指定了这个列,那么不允许使用这个子句(SQLSTATE 42831)。
应用推荐